package com.ruoyi.system.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.SysMenu;
import com.ruoyi.system.domain.vo.TreeSelect;

import java.util.List;

public interface IMenuService extends IService<SysMenu> {
    List<SysMenu> selectMenuList(SysMenu menu,Long userId);

    List<SysMenu> selectMenuList(Long userId);

    Object selectMenuListByRoleId(Long roleId);

    List<TreeSelect> buildMenuTreeSelect(List<SysMenu> menus);
}
